package model;

import java.sql.Timestamp;

public class Member {
	
	private String name;
	private String password;
	private String gender;
	private int age;
	private String address;
	private float balance;
	private Timestamp lastRecharge;
	private float totalConsumption;
	
	public Member() {
		name = null;
		password = null;
		gender = null;
		age = 0;
		address = null;
		balance = -1;
		lastRecharge = null;
		totalConsumption = 0;
	}
	
	public Member(String n, String p, String g, int a, String add, float b, Timestamp l, float t) {
		name = n;
		password = p;
		gender = g;
		age = a;
		address = add;
		balance = b;
		lastRecharge = l;
		totalConsumption = t;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String s) {
		name = s;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String s) {
		password = s;
	}
	
	public String getGender() {
		return gender;
	}
	
	public void setGender(String s) {
		gender = s;
	}
	
	public int getAge() {
		return age;
	}
	
	public void setAge(int i) {
		age = i;
	}
	
	public String getAddress() {
		return address;
	}
	
	public void setAddress(String s) {
		address = s;
	}
	
	public float getBalance() {
		return balance;
	}
	
	public void setBalance(float i) {
		balance = i;
	}
	
	public Timestamp getLastRecharge() {
		return lastRecharge;
	}
	
	public void setLastRecharge(Timestamp t) {
		lastRecharge = t;
	}
	
	public float getTotalConsumption() {
		return totalConsumption;
	}
	
	public void setTotalConsumption(float f) {
		totalConsumption = f;
	}
	
}
